<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../../../sks/cms/page/share/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<% String path = request.getContextPath(); 
   String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
   String menuName = request.getParameter("menuName") == null ? "" : (String)request.getParameter("menuName");
   String str = request.getAttribute("str") == null ? "" : (String)request.getAttribute("str");
   String newsId = request.getAttribute("newsId") == null ? "" : (String)request.getAttribute("newsId");
   %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="租房,买房,三棵松,地产,中介" />
<meta name="description" content="三棵松地产" />
<title>三棵松地产</title>
<link rel="stylesheet" type="text/css" media="screen" href="<%=basePath %>sks/css/frontpages/BrightSide.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<%=basePath %>sks/css/frontpages/mytestcss.css" />
<link href="<%=basePath %>sks/frontpages/news/base.css" rel="stylesheet" type="text/css" /> 
<link href="<%=basePath %>sks/frontpages/news/css.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" media="screen"
	href="<%=basePath%>sks/css/frontpages/common.css" />
</head> 
<body onload="javascript:changeMenu('<%=menuName%>');"> 
<div class="wrap">
	<jsp:include page="../header.jsp"></jsp:include>
	<a href="<%=basePath%>" hidefocus="true">SKS房地产</a> &gt;
		<a href="<%=basePath %>sks/news.do?method=indexNewsList&menuName=newsIndex" target="_self" hidefocus="true">资讯</a>					
	<div id="out-background"> 
<div id="container" class="home-width"> 
<div id="news-content"> 
    <div class="left-content"> 
        <div class="news-top-box"> 
            <div class="float-left" style="width: 535px">
            <c:forEach items="${hotNews.records}" var="entry" begin="0" end="0" step="1" >
                <h1><a href="<html:rewrite action='/sks/news?method=infoList&menuName=newsIndex&newsId=${entry.newsId}'/>" target="_blank">${fn:substring(entry.title,0,25)}</a></h1> 
            </c:forEach>
                <div >                     
                    <ul > 
                    <c:forEach items="${hotNews.records}" var="entry" begin="1" end="5" step="1" >
                        <li><a href="<html:rewrite action='/sks/news?method=infoList&menuName=newsIndex&newsId=${entry.newsId}'/>" target="_blank">${fn:substring(entry.title,0,25)}</a></li> 
                    </c:forEach>
                    </ul> 
                    <div class="float-right"><a href="<html:rewrite action='/sks/news.do?method=hotNewsList&menuName=newsIndex'/>" target="_blank"><font face="黑体" size="2">更多>></font></a></div> 
                </div> 
            </div> 
			<div class="float-right">  
				<%if(str == ""){ %>
					<img src="/sks/frontpages/news/img/newimg.jpg"  width="320" height="240">    
				<%}else {%>  
					<a href="<html:rewrite action='/sks/news?method=infoList&menuName=newsIndex&newsId='/><%=newsId%>" target="_blank"><img src="<%=str %>" width="320" height="240"></a>
					<%} %>
			</div>
			<div class="clear"></div> 
        </div> 
<div class="info-list-box"> 
	<div class="list-title"> 
    	<div></div> 
            <a href="<html:rewrite action='sks/news?method=houseNewsList&menuName=newsIndex'/>" target="_blank"><h3>市场资讯</h3></a>
        <div></div>
    </div> 
    <div class="content-box">
    <ul style="display: none"></ul><!-- 暂时解决IE7问题 -->
    <c:forEach items="${houseNews.records}" var="entry" begin="0" end="5" step="1"> 
        <ul> 
            <li class="info-title"> 
                <a href="<html:rewrite action='/sks/news?method=infoList&menuName=newsIndex&newsId=${entry.newsId}'/>" target="_blank">${fn:substring(entry.title,0,25)}</a><br/> 
            </li> 
            <li class="info-origin">${entry.source}</li> 
            <li class="info-time">${entry.publishTime}</li> 
        </ul> 
    </c:forEach>
    </div> 
</div> 
<div class="info-list-box"> 
	<div class="list-title"> 
            <a href="<html:rewrite action='/sks/news?method=policyNewsList&menuName=newsIndex'/>" target="_blank"><h3>政策法规</h3></a>
    </div> 
    <div class="content-box"> 
    <ul style="display: none"></ul><!-- 暂时解决IE7问题 -->
    <c:forEach items="${policyNews.records}" var="entry" begin="0" end="5" step="1" >
        <ul> 
            <li class="info-title"> 
                <a href="<html:rewrite action='/sks/news?method=infoList&menuName=newsIndex&newsId=${entry.newsId}'/>" target="_blank">${fn:substring(entry.title,0,25)}</a><br/> 
            </li> 
            <li class="info-origin">${entry.source}</li> 
            <li class="info-time">${entry.publishTime}</li> 
        </ul>
    </c:forEach>  
    </div> 
</div>      
    </div> 
<div id="mainright" class="right-content"> 
</div> 
</div> 
</div> 
</div> 

<!-- footer starts here -->	
<jsp:include page="../rooster.jsp"></jsp:include>
<!-- footer ends here -->
</div>
</body> 
</html> 